import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { StarnightStudentRoutingModule } from './starnight-student-routing.module';
import { PageDashboardComponent } from './page-dashboard/page-dashboard.component';
import { PageUserComponent } from './page-user/page-user.component';
import { PageErrorQuestionComponent } from './page-error-question/page-error-question.component';
import { PageExamComponent } from './page-exam/page-exam.component';

import { IonicModule } from '@ionic/angular';
import { ToLevelPipe } from './to-level.pipe';
import { CompCenterPanelComponent } from './comp-center-panel/comp-center-panel.component';
import { PageLoginComponent } from './page-login/page-login.component';

import { FormsModule } from '@angular/forms';
import { PageRegisterComponent } from './page-register/page-register.component';
import { CompLevelSelectorComponent } from './comp-level-selector/comp-level-selector.component';
import { ToTimePipe } from './to-time.pipe';

@NgModule({
  declarations: [
    PageDashboardComponent,
    PageUserComponent,
    PageErrorQuestionComponent,
    PageExamComponent,
    ToLevelPipe, 
    CompCenterPanelComponent, PageLoginComponent, PageRegisterComponent, CompLevelSelectorComponent, ToTimePipe
  ],
  imports: [
    CommonModule,
    StarnightStudentRoutingModule,
    IonicModule.forRoot({mode: 'ios'}),
    FormsModule
  ]
})
export class StarnightStudentModule { }
